package com.chaoyer.cynet;

import com.alibaba.fastjson.serializer.SerializerFeature;
import com.alibaba.fastjson.support.spring.FastJsonHttpMessageConverter;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.http.HttpMessageConverters;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@ComponentScan({"com.chaoyer.cynet"})
@EnableTransactionManagement    // 事务支持
@EnableScheduling               // 定时器任务
@SpringBootApplication
public class CyNetApplication {

    public static void main(String[] args) {
        SpringApplication.run(CyNetApplication.class, args);
    }
}